// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
  css: [
    'animate.css'
  ],
  modules: [
    '@nuxtjs/tailwindcss',
    '@nuxtjs/color-mode',
    'dayjs-nuxt',
    'nuxt-icon'
  ],
  dayjs: {
    locales: ['zh-cn'],
    defaultLocale: 'zh-cn',
    plugins: ['relativeTime']
  },
  tailwindcss: {
    configPath: 'tailwind.config'
  }, // 自定义tailwindcss的配置
  colorMode: {
    classSuffix: ''
  },
  devtools: { enabled: true } // 调试工具的启用/禁用
})
